
package com.lzh.seatrend.elasticsearch.service;

import com.lzh.seatrend.elasticsearch.entity.User;

import java.util.List;

/**
 * @Classname UserService
 * @Description TODO
 * @Date 2021/11/8 15:33
 * @Created by liuzihao
 */

public interface UserService {
    /**
     * insert
     *
     * @param user
     * @return
     */
    Boolean insert(User user);


    /**
     * search
     *
     * @param searchContent
     * @return
     */
    List<User> search(String searchContent);

    /**
     * searchUserByWeight
     *
     * @param searchContent
     * @return
     */
    List<User> searchUserByWeight(String searchContent);
}
